package practice;

/**
 * User: 86156
 * Date: 2023-04-12
 * Time: 10:52
 */
public class Animal {
    private int age;

    private char Color;

    public Animal() {
    }

    public Animal(int age, char color) {
        this.age = age;
        this.Color = color;
    }

    public void eat(String something){
        System.out.println("动物正在吃");
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public char getColor() {
        return Color;
    }

    public void setColor(char color) {
        Color = color;
    }
}
